package com.gold.gauss.model;

import java.io.Serializable;

/**
 * Created by Gary on 2019-12-24.
 * 馆藏信息
 *
 * @author Gary
 * @version 0.0.1
 * @date 2019-12-24
 * @since 0.0.1
 */
public class StackItem implements Serializable {
    /**
     * id
     */
    private Long id;
    /**
     * 书目id
     */
    private Long bookId;
    /**
     * 条码号
     */
    private String barCode;
    /**
     * 登录号
     */
    private String accessionNo;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getBookId() {
        return bookId;
    }

    public void setBookId(Long bookId) {
        this.bookId = bookId;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public String getAccessionNo() {
        return accessionNo;
    }

    public void setAccessionNo(String accessionNo) {
        this.accessionNo = accessionNo;
    }

    @Override
    public String toString() {
        return "StackItem{" +
                "id=" + id +
                ", bookId=" + bookId +
                ", barCode='" + barCode + '\'' +
                ", accessionNo='" + accessionNo + '\'' +
                '}';
    }
}
